summaryrefslogtreecommitdiff
path: root/src/pages/[locale]/index.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-23 19:34:55 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-23 19:34:55 +0100
commitea407c9243b4098aa8daefc211700d1d654eefab (patch)
treec932dac6436d2a6d1af15b65f777470428ffe165 /src/pages/[locale]/index.astro
parentaa39f5d2744ee2aa114955f6e4266b4a999c7bb8 (diff)
Makes commattee memmer bio optional
Diffstat (limited to 'src/pages/[locale]/index.astro')
-rw-r--r--src/pages/[locale]/index.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro
index 5ef1e1c..cb38bc5 100644
--- a/src/pages/[locale]/index.astro
+++ b/src/pages/[locale]/index.astro
@@ -51,7 +51,7 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale);
)}
<div class="committee__member__text">
<h4>{member.name}</h4>
- <p set:html={member.bio[locale]} />
+ {member.bio && <p set:html={member.bio[locale]} />}
</div>
</li>
))